package com.scott.Factory;


import com.scott.Factory.AbstractFactory.DefaultFactory;

public class AbstractFactoryCustomer {
    public static void main(String[] args) {
        DefaultFactory defaultFactory = new DefaultFactory();
        System.out.println("默认的"+defaultFactory.getCar());
        System.out.println("bmw"+defaultFactory.getCar("bmw"));
    }
}
